package com.qianyu.entity.bean;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.qianyu.entity.base.BaseBean;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
/**
 * qq账号日志
 *
 * @TableName tb_qq_account_log
 */
@Data
@ApiModel(value = "qq账号日志")
@AllArgsConstructor
@NoArgsConstructor
@TableName("tb_qq_account_log")
public class QqAccountLog extends BaseBean {

    /**
     * QQ
     */
    @NotBlank(message = "[QQ]不能为空")
    @Size(max = 15, message = "编码长度不能超过15")
    @ApiModelProperty("QQ")
    private String qq;
    /**
     * 操作名称
     */
    @NotBlank(message = "[操作名称]不能为空")
    @Size(max = 64, message = "编码长度不能超过64")
    @ApiModelProperty("操作名称")
    @TableField(value = "`key`")
    private String key;
    /**
     * 群id
     */
    @NotNull(message = "[群id]不能为空")
    @ApiModelProperty("群id")
    private Long qunId;
    /**
     * 备注
     */
    @NotBlank(message = "[备注]不能为空")
    @Size(max = 500, message = "编码长度不能超过500")
    @ApiModelProperty("备注")
    private String remark;
    /**
     *
     */
    @Size(max = -1, message = "编码长度不能超过-1")
    @ApiModelProperty("")
    private String extend;


}
